package com.hxci.zhangcong.dao;

import com.hxci.zhangcong.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDao {

    public List<Teacher> query(@Param("name") String name);

    int save(Teacher teacher);

    int del(Integer id);

    Teacher edit(Integer id);

    int update(Teacher teacher);
}
